package com.skysz.jdk.proxy;

import java.lang.reflect.Proxy;

import com.skysz.cglib.Payment;

public class ProxyTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Payment p = (Payment)Proxy.newProxyInstance(ProxyTest.class.getClassLoader(), 
				Payment.class.getInterfaces(),
				new PaymentHandler());
	}

}
